(function() {
  var __hasProp = {}.hasOwnProperty,
    __extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; };

  define(['chaplin', 'views/base/view'], function(Chaplin, BaseView) {
    'use strict';
    var CollectionView, _ref;
    return CollectionView = (function(_super) {
      __extends(CollectionView, _super);

      function CollectionView() {
        _ref = CollectionView.__super__.constructor.apply(this, arguments);
        return _ref;
      }

      CollectionView.prototype.listSelector = 'table tbody';

      CollectionView.prototype.container = '#module-container';

      CollectionView.prototype.initialize = function() {
        CollectionView.__super__.initialize.apply(this, arguments);
        return this.collection.fetch();
      };

      CollectionView.prototype.render = function() {
        Chaplin.View.prototype.render.apply(this, arguments);
        CollectionView.__super__.render.apply(this, arguments);
        return this.publishEvent('load:hide');
      };

      CollectionView.prototype.getTemplateFunction = BaseView.prototype.getTemplateFunction;

      return CollectionView;

    })(Chaplin.CollectionView);
  });

}).call(this);
